package com.hehua.web.decorator.demo2;

public class DiscountDecorator extends OrderPriceDecorator{
    @Override
    protected double calculatePrice(double basePrice) {
        double v = orderPriceCalculator.calculatePrice(basePrice);
        return v  * 0.9d;
    }
}
